home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / appletalk / netatalk / afs / afskrbsrc.sit.hqx / AFS Kerberos 1.0B0 / common.r < prev    next >
Encoding:
Text File  |  1991-10-03  |  3.2 KB  |  154 lines

  1. /*
  2.  * Copyright (c) 1990 Regents of The University of Michigan.
  3.  * All Rights Reserved.
  4.  *
  5.  * Permission to use, copy, modify, and distribute this software
  6.  * and its documentation for any purpose and without fee is hereby
  7.  * granted, provided that the above copyright notice appears in all
  8.  * copies and that both that copyright notice and this permission
  9.  * notice appear in supporting documentation, and that the name of
  10.  * The University of Michigan not be used in advertising or
  11.  * publicity pertaining to distribution of the software without
  12.  * specific, written prior permission. This software is supplied as
  13.  * is without expressed or implied warranties of any kind.
  14.  *
  15.  *    ITD Research Systems
  16.  *    University of Michigan
  17.  *    535 W. William Street
  18.  *    Ann Arbor, Michigan
  19.  *    +1-313-936-2652
  20.  *    netatalk@terminator.cc.umich.edu
  21.  */
  22.  
  23. #include "Types.r"
  24.  
  25. /*----------- uamg Ñ User Authentication Method General Info -------------------*/
  26. type 'uamg' {
  27.         integer;                                                    /* version (=1)        */
  28.         integer    Standard,Class_1,Class_2,Class_3;    /* Class                    */
  29.         integer;                                                    /* maxlen(Password)    */
  30.         byte        User_Password_Dialog,Default_Password_Dialog;
  31.         byte        User_Volume_Selection,Default_Volume_Selection;
  32.         byte;                                                        /* UAM type ID            */
  33.         byte        No_BML_Support,BML_Support;    
  34. };
  35.  
  36. /*-------------------- uamn Ñ User Authentication Method Name ------------------*/
  37. type 'uamn' {
  38.         pstring;                                                /* String                */
  39. };
  40.  
  41. resource 'uamg' (0, "UAM General Info") {
  42.     1,
  43.     Class_3,
  44.     63,
  45.     User_Password_Dialog,
  46.     Default_Volume_Selection,
  47.     128+56,
  48.     No_BML_Support
  49. };
  50.  
  51. resource 'uamn' (2, "UAM Password Description") {
  52.     "(Kerberos)"
  53. };
  54.  
  55. resource 'uamn' (1, "UAM AFP Protocol") {
  56.     "AFS Kerberos"
  57. };
  58.  
  59. resource 'uamn' (0, "UAM Dialog String") {
  60.     "AFS Kerberos"
  61. };
  62.  
  63. resource 'ALRT' (1000) {
  64.     {40, 56, 160, 456},
  65.     1000,
  66.     {
  67. /* [1] */    OK, visible, sound1,
  68. /* [2] */    OK, visible, sound1,
  69. /* [3] */    OK, visible, sound1,
  70. /* [4] */    OK, visible, sound1
  71.     }
  72. };
  73.  
  74. resource 'ALRT' (1001) {
  75.     {40, 56, 160, 456},
  76.     1001,
  77.     {
  78. /* [1] */    OK, visible, sound1,
  79. /* [2] */    OK, visible, sound1,
  80. /* [3] */    OK, visible, sound1,
  81. /* [4] */    OK, visible, sound1
  82.     }
  83. };
  84.  
  85. resource 'ALRT' (1002) {
  86.     {40, 56, 160, 456},
  87.     1002,
  88.     {
  89. /* [1] */    OK, visible, sound1,
  90. /* [2] */    OK, visible, sound1,
  91. /* [3] */    OK, visible, sound1,
  92. /* [4] */    OK, visible, sound1
  93.     }
  94. };
  95.  
  96. resource 'ALRT' (1003) {
  97.     {40, 56, 160, 456},
  98.     1003,
  99.     {
  100. /* [1] */    OK, visible, sound1,
  101. /* [2] */    OK, visible, sound1,
  102. /* [3] */    OK, visible, sound1,
  103. /* [4] */    OK, visible, sound1
  104.     }
  105. };
  106.  
  107. resource 'DITL' (1000) {
  108.     {
  109.         {85, 20, 105, 80},
  110.         Button {enabled, "OK"},
  111.  
  112.         {10, 90, 80, 360},
  113.         StaticText {disabled, "Local configuration error."}
  114.     }
  115. };
  116.  
  117. resource 'DITL' (1001) {
  118.     {
  119.         {85, 20, 105, 80},
  120.         Button {enabled, "OK"},
  121.  
  122.         {10, 90, 80, 360},
  123.         StaticText {disabled, "Remote configuration error."}
  124.     }
  125. };
  126.  
  127. resource 'DITL' (1002) {
  128.     {
  129.         {85, 20, 105, 80},
  130.         Button {enabled, "OK"},
  131.  
  132.         {10, 90, 80, 360},
  133.         StaticText {disabled, "Unable to authenticate."}
  134.     }
  135. };
  136.  
  137. resource 'DITL' (1003) {
  138.     {
  139.         {85, 20, 105, 80},
  140.         Button {enabled, "OK"},
  141.  
  142.         {10, 90, 80, 360},
  143.         StaticText {disabled, "Unable to authenticate in ^0."}
  144.     }
  145. };
  146.  
  147. resource 'STR ' (1000) {
  148.     "AFPVersion 2.0"
  149. };
  150.  
  151. resource 'STR ' (1001) {
  152.     "v1.0b0"
  153. };
  154.